package com.sanpu.kxe.business.trade.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.trade.bean.RechargeDetailOutput;

/**
 * Description：话费流量充值
 * Created by 薛勇军 on 2019/3/15.
 */

public interface ChargerTelFeeContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示view
         */
        void showDataView(RechargeDetailOutput rechargeDetailOutput, String phoneNumber);

    }

    interface Presenter extends IBasePresenter {

        /**
         * 通讯录
         */
        void pickContact();

        /**
         * 获取归属地和话费流量充值套餐信息（首页=>话费流量）
         */
        void getRechargeDetail(String phoneNumber);

        /**
         * 充值
         */
        void setupPay(String phoneNumber, RechargeDetailOutput.AmountPackage callcharge,
                      RechargeDetailOutput.PointPackage integral);
    }
}
